package cn.ryh.designpatterndemo.chainofresponsibilitypattern;

/**
 * @ClassName ConcreteHandlerOne
 * @Description TODO
 * @Author RaoYH
 * @Date 2019/4/25
 */
public class ConcreteHandlerOne extends AbstractHandler {
    @Override
    protected Level getHandlerLevel() {
        return new Level(1);
    }

    @Override
    protected Response echo(Request request) {
        return new Response("ConcreteHandlerOne echo");
    }
}
